//
//  XinXiJianJie.m
//  EJLX
//
//  Created by adc on 15/11/13.
//  Copyright © 2015年 江苏一键联信息科技有限公司. All rights reserved.
//

#import "XinXiJianJie.h"

@implementation XinXiJianJie
+(id)userWithDictionary:(NSDictionary*)userDic
{
    return [[self alloc]initWithDictionary:userDic];
}
-(id)initWithDictionary:(NSDictionary*)userDic
{
    self=[super init];
    if (self)
    {
        _name=[userDic[@"username"]copy];
        _avatar=[userDic[@"avatar"]copy];
        _levle=[userDic[@"leval"]copy];
        _status=[userDic[@"status"]copy];
        
    }
    return self;
}
@end
